import { Module } from '@nestjs/common';
import { ChargeCardOrderService } from './charge-card-order.service';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Device } from '@app/db/entities/Device';
import { ChargingStation } from '@app/db/entities/ChargingStation';
import { PricingFastCharge } from '@app/db/entities/PricingFastCharge';
import { PricingSlowCharge } from '@app/db/entities/PricingSlowCharge';
import { ChargingCardLog } from '@app/db/entities/ChargingCardLog';
import { ChargeOrder } from '@app/db/entities/ChargeOrder';
import { Merchant } from '@app/db/entities/Merchant';
import { ChargingCard } from '@app/db/entities/ChargingCard';
import { AliIotModule } from 'apps/ali-iot/src/ali-iot.module';

@Module({
  imports : [AliIotModule, TypeOrmModule.forFeature([Merchant, ChargeOrder, Device, ChargingCard, ChargingStation, PricingFastCharge, PricingSlowCharge, ChargingCardLog])],
  providers: [ChargeCardOrderService],
  exports : [ChargeCardOrderService]
})
export class ChargeCardOrderModule {}
